﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Practices.Unity;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Testing.Core;

namespace Common.Unity.Testing
{
	[TestClass]
	public class UnityContainerTestBase : TestBase
	{
		protected void ClearContainer()
		{
			container = null;
		}

		protected IUnityContainer Container
		{
			get { return container ?? ( container = UnityConfiguration.Create() ); }
		}	IUnityContainer container;
	}
}
